//ex10_10_3.cpp
#ifndef GOLF_H__
#define GOLF_H__
#include <iostream>
#include <cstring>
using namespace std;

const int Len = 40;
/*
struct golf
{
    char fullname[Len];
    int handicap;
};

void setgolf(golf &g, const char *name, int hc);
int setgolf(golf &g);
void handicap(golf &g, int hc);
void showgolf(const golf &g);
*/
class golf
{
    char fullname[Len];
    int handicap;
    public:
        golf(const char *name, int hc);
        golf();
        void sethandicap(int hc);
        void showgolf() const;

};
#endif
